package com.liang.threaddemo7;

public class Demo {
    public static void main(String[] args) {
        MyRunnable mr = new MyRunnable();

        Thread tr1 = new Thread(mr, "窗口一");
        Thread tr2 = new Thread(mr, "窗口二");

        tr1.start();
        tr2.start();
    }
}
